package com.yc.cloud.openai.portal.dto.response;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@NoArgsConstructor
@Data
public class VideoRemoveWaterParseResponse {


    @JsonProperty("code")
    private Integer code;
    @JsonProperty("msg")
    private String msg;
    @JsonProperty("data")
    private DataDTO data;

    @NoArgsConstructor
    @Data
    public static class DataDTO {
        @JsonProperty("video_url")
        private String videoUrl;
        @JsonProperty("cover_url")
        private String coverUrl;
        @JsonProperty("title")
        private String title;
        @JsonProperty("music_url")
        private String musicUrl;
        @JsonProperty("images")
        private List<?> images;
        @JsonProperty("author")
        private AuthorDTO author;

        @NoArgsConstructor
        @Data
        public static class AuthorDTO {
            @JsonProperty("uid")
            private String uid;
            @JsonProperty("name")
            private String name;
            @JsonProperty("avatar")
            private String avatar;
        }
    }
}
